<%--
  Created by IntelliJ IDEA.
  User: Wang Ziming
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
<head>
    <title>推荐</title>
</head>
<body>
    <%@include file="../parts/head.jsp"%>
    <%--标题，指明应用内容
    <h2 class="content-name" style="font-family: STSong"><b>Group Travel</b></h2>--%>
    <p class="content-name">
        <b style="font-family: STSong">Group Travel</b>
        <span id="announceContent" style="color: red; float: right;margin-right: 10%;">公告：${applicationScope.announceContent}</span>
    </p>
    <%--借助表格实现打印操作--%>
    <table class="recommend-table" align="center" width="100%">
        <thead>
            <tr>
                <th>推荐游伴</th>
                <th>推荐出游地</th>
            </tr>
        </thead>
        <tbody align="center" >
            <c:forEach items="${recommends}" var="recommend">
                <tr>
                    <td>${recommend.username}</td>
                    <td>${recommend.destinations}</td>
                </tr>
            </c:forEach>
        </tbody>
    </table>
</body>
<%--css--%>
<link type="text/css" rel="stylesheet" href="/css/index.css">
<style>
</style>
<%--js--%>

</html>
